package com.nanhai.buddhist.college.module.system.convert.rolegroup;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.system.controller.admin.rolegroup.vo.*;
import com.nanhai.buddhist.college.module.system.dal.dataobject.rolegroup.RoleGroupDO;

/**
 * 群组管理 Convert
 *
 * @author 南海佛学院
 */
@Mapper
public interface RoleGroupConvert {

    RoleGroupConvert INSTANCE = Mappers.getMapper(RoleGroupConvert.class);

    RoleGroupDO convert(RoleGroupCreateReqVO bean);

    RoleGroupDO convert(RoleGroupUpdateReqVO bean);

    RoleGroupRespVO convert(RoleGroupDO bean);

    List<RoleGroupRespVO> convertList(List<RoleGroupDO> list);

    PageResult<RoleGroupRespVO> convertPage(PageResult<RoleGroupDO> page);

    List<RoleGroupExcelVO> convertList02(List<RoleGroupDO> list);

}
